
function ToggleModuleMenu(element)
{
var content = element.parentNode; 
var hide = element.className == 'togglecategorymodulecollapse';
for(i=0;i<content.childNodes.length;i++)
{ 
  var child = content.childNodes[i];
  if(child.tagName == 'UL')
  {
    for(j=0;j<child.childNodes.length;j++)
    {
	var childchild = child.childNodes[j];
         if(hide){ 
            childchild.style.display = 'none'; 
		element.className = 'togglecategorymoduleexpand';
            } 
         else{ 
            childchild.style.display = 'block';
		element.className = 'togglecategorymodulecollapse';
            }
     }
  }
}

}